package com.cbh.binlog.config;

import com.cbh.binlog.common.SpringUtil;
import org.springframework.boot.autoconfigure.condition.ConditionalOnBean;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

/**
 * @author ChenBiHui
 * @date 2025/2/19
 */
@Configuration
@ConditionalOnBean({BinlogClientConfig.class})
public class BinlogAutoConfiguration {

    @Bean("binlogSpringUtil")
    public SpringUtil binlogSpringUtil() {
        return new SpringUtil();
    }
}
